//
//  UIColor+Extension.h
//  M-Saler
//
//  Created by Teresa on 2020/5/21.
//  Copyright © 2020 Teresa. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIColor (Extension)

+ (UIColor *)colorWithHexStr:(NSString *)string;
+ (UIColor *)colorWithHexStr:(NSString *)string alpha:(CGFloat)alpha;
+ (UIColor *)colorWithR:(CGFloat)red g:(CGFloat)green b:(CGFloat)blue a:(CGFloat)alpha;
+ (NSString *)hexStringWithColor:(UIColor *)color;

@end

NS_ASSUME_NONNULL_END
